<?php

Route::group(['middleware' => 'web', 'prefix' => 'minicode', 'namespace' => 'Modules\Minicode\Http\Controllers'], function()
{
    Route::get('/', 'MinicodeController@index')->name('minicode');
});

 
//shouye-route
Route::group(['middleware' => ['web'],'prefix'=>'minicode','namespace'=>"Modules\Minicode\Http\\Controllers"], 
function () {
    Route::resource('shouye', 'ShouyeController');
});